package com.ruimei.util;

import java.util.HashMap;

public class ResultMap
  extends HashMap<String, Object>
{
  private static final long serialVersionUID = 1L;
  
  public ResultMap(Object obj)
  {
    returnSelectMap(obj);
  }
  
  public ResultMap returnSelectMap(Object obj)
  {
    put("data", obj);
    put("status", Boolean.valueOf(true));
    return this;
  }
  
  public ResultMap returnMap(Object obj)
  {
    put("data", obj);
    put("message", "查询成功");
    put("status", Boolean.valueOf(true));
    return this;
  }
}


/* Location:              E:\360MoveData\Users\admin\Desktop\teacher_wap-0.0.1-SNAPSHOT.jar!\BOOT-INF\classes\com\ruime\\util\ResultMap.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       0.7.1
 */